package com.ltg.demo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Version 1.0
 * @Author LTG
 * @ClassName FeginTestService
 * @Date 2024/3/3 11:53
 */

@Component
@FeignClient(name = "aaa",url = "http://localhost:8090")
public interface FeignTestService {
    @GetMapping(value = "/hello")
    String selectPaymentList();
}
